The Archive component can be used to work asynchronously by using its BeginXXX methods.
EndXXX events are raised by the completion of a corresponding BeginXXX method, and notify the application of a process being completed. The EndXXX events used by the Archive component are the following:
Event | Raised By | Purpose |
---|---|---|
EndZip Event | Completion of the BeginZip or BeginQuickZip method. | Notifies the application that a file, multiple files, or a stream has been compressed. |
EndUnzip Event | Completion of the BeginUnzip or BeginQuickUnzip method. |
Notifies the application that a file, multiple files, or a stream has been decompressed. |
Setting the SynchronizingObject to the form causes the events to fire on the UI thread.